import java.io.IOException;
import java.util.ArrayList;

import de.bwaldvogel.liblinear.InvalidInputDataException;


public class Train {

	public static void main(String[] args) throws IOException, InvalidInputDataException {
		//label of classes
		ArrayList<String> label = new ArrayList<String>();
		label.add("1");
		label.add("2");
		label.add("3");
		label.add("4");
		label.add("5");
		
		//number of models
		ArrayList<String> model = new ArrayList<String>();
		for(int i = 0; i < label.size() - 1; i++){
			for(int j = i + 1; j < label.size(); j++){
				model.add((i + 1) + "_" + (j + 1) + ".train");
			}
		}
		
		for(int i = 0; i < model.size(); i++){
			System.out.println(model.get(i));
		}
				
//		System.out.println("Nhap thong so: ");
//		
//		BufferedReader buf = new BufferedReader (new InputStreamReader (System.in));
//		String line = buf.readLine ();
//		
//    	String input[] = line.split(" ");
//    	System.out.println(line);
    	
//    	for(int i = 0; i < model.size(); i++){
//    		de.bwaldvogel.liblinear.Train train = new de.bwaldvogel.liblinear.Train();
//        	train.main(model.get(i).split(" "));
//		}
    	
    	de.bwaldvogel.liblinear.Train train = new de.bwaldvogel.liblinear.Train();
    	train.main("hah.5000.1_2.train".split(" "));
    	train.main("hah.5000.1_2_3_4_5.train".split(" "));
    	train.main("hah.5000.3_4_5.train".split(" "));
    	train.main("hah.5000.4_5.train".split(" "));
    	
//    	Predict predict = new Predict();
//    	predict.main(input);

	}

}
